-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove podiatry from type of care list #32980
Remove podiatry from type of care list #32980
Conversation
Signed-off-by: Ryan Shaw <[email protected]>
…d type of care page Signed-off-by: Ryan Shaw <[email protected]>
Signed-off-by: Ryan Shaw <[email protected]>
@@ -373,6 +374,7 @@ export function selectTypeOfCarePage(state) { | |||
pageChangeInProgress: selectPageChangeInProgress(state), | |||
showCommunityCare: selectFeatureCommunityCare(state), | |||
showDirectScheduling: selectFeatureDirectScheduling(state), | |||
removePodiatry: selectFeatureRemovePodiatry(state), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really like the removePodiatry
variable name here as all of the other variables are showSomething
but wanted to keep it consistent with what the feature flag was originally named.
typeOfCare => typeOfCare.id !== PODIATRY_ID || showCommunityCare, | ||
typeOfCare => | ||
typeOfCare.id !== PODIATRY_ID || | ||
(showCommunityCare && !removePodiatry), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really like the removePodiatry
variable name here as all of the other variables are showSomething
but wanted to keep it consistent with what the feature flag was originally named.
Signed-off-by: Ryan Shaw <[email protected]>
…-website into ryanshaw/95332-remove-podiatry-from-type-of-care-list
Signed-off-by: Ryan Shaw <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Summary
This removes/hides Podiatry from the Type of Care page when the
vaOnlineSchedulingRemovePodiatry
feature flag istrue
.Related issue(s)
department-of-veterans-affairs/va.gov-team#95332
Testing done
Screenshots
With
vaOnlineSchedulingRemovePodiatry
set tofalse
With
vaOnlineSchedulingRemovePodiatry
set totrue
Acceptance criteria
Podiatry should not be shown as an option on the Type of Care page when the
vaOnlineSchedulingRemovePodiatry
feature is set totrue
.Podiatry should be shown as an option on the Type of Care page when the
vaOnlineSchedulingRemovePodiatry
feature is set tofalse
and the CC flag is on.Quality Assurance & Testing
Error Handling
Authentication